package com.honyelchak.shortlink.project.common;

public class RedisCacheConstant {


    /**
     * 短链接跳转前缀 key
     */
    public static final String GOTO_SHORT_LINK_KEY = "short-link_goto_%s";

    /**
     * 跳转短链接空值
     */
    public static final String GOTO_IS_NULL_SHORT_LINK_KEY = "short-link_is-null_goto_%s";

    public static final String LOCK_GOTO_SHORT_LINK_KEY = "lock:short-link_goto_%s";


    /**
     * 用于解决缓存穿透的空值
     */
    public static final String NULL_VALUE = "-";
}
